<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
<script>
window.onload = function()
{
			var oUl = document.getElementById('ul1');
	
			for(var i=0; i <1000; i++)
			{
					var oLi = document.createElement('li');
					oUl.appendChild(oLi);
			}
	
};
</script>
</head>

<body>
<ul id="ul1"></ul>
</body>
</html>
